package com.crm.model.entity.workOrderManager;

import java.util.Date;

public class WorkOrder {
    private String workOrderId;

    private String workOrderNumber;

    private String workOrderTitle;

    private Integer workOrderType;

    private String createPeopleId;

    private Date createTm;

    private String updatePeopleId;

    private Date updateTm;

    private Short deleteStatus;

    private String accountId;

    private String companyId;

    private Short workStatus;

    private String workOrderContent;

    public WorkOrder(String workOrderId, String workOrderNumber, String workOrderTitle, Integer workOrderType, String createPeopleId, Date createTm, String updatePeopleId, Date updateTm, Short deleteStatus, String accountId, String companyId, Short workStatus) {
        this.workOrderId = workOrderId;
        this.workOrderNumber = workOrderNumber;
        this.workOrderTitle = workOrderTitle;
        this.workOrderType = workOrderType;
        this.createPeopleId = createPeopleId;
        this.createTm = createTm;
        this.updatePeopleId = updatePeopleId;
        this.updateTm = updateTm;
        this.deleteStatus = deleteStatus;
        this.accountId = accountId;
        this.companyId = companyId;
        this.workStatus = workStatus;
    }

    public WorkOrder(String workOrderId, String workOrderNumber, String workOrderTitle, Integer workOrderType, String createPeopleId, Date createTm, String updatePeopleId, Date updateTm, Short deleteStatus, String accountId, String companyId, Short workStatus, String workOrderContent) {
        this.workOrderId = workOrderId;
        this.workOrderNumber = workOrderNumber;
        this.workOrderTitle = workOrderTitle;
        this.workOrderType = workOrderType;
        this.createPeopleId = createPeopleId;
        this.createTm = createTm;
        this.updatePeopleId = updatePeopleId;
        this.updateTm = updateTm;
        this.deleteStatus = deleteStatus;
        this.accountId = accountId;
        this.companyId = companyId;
        this.workStatus = workStatus;
        this.workOrderContent = workOrderContent;
    }

    public WorkOrder() {
        super();
    }

    public String getWorkOrderId() {
        return workOrderId;
    }

    public void setWorkOrderId(String workOrderId) {
        this.workOrderId = workOrderId == null ? null : workOrderId.trim();
    }

    public String getWorkOrderNumber() {
        return workOrderNumber;
    }

    public void setWorkOrderNumber(String workOrderNumber) {
        this.workOrderNumber = workOrderNumber == null ? null : workOrderNumber.trim();
    }

    public String getWorkOrderTitle() {
        return workOrderTitle;
    }

    public void setWorkOrderTitle(String workOrderTitle) {
        this.workOrderTitle = workOrderTitle == null ? null : workOrderTitle.trim();
    }

    public Integer getWorkOrderType() {
        return workOrderType;
    }

    public void setWorkOrderType(Integer workOrderType) {
        this.workOrderType = workOrderType;
    }

    public String getCreatePeopleId() {
        return createPeopleId;
    }

    public void setCreatePeopleId(String createPeopleId) {
        this.createPeopleId = createPeopleId == null ? null : createPeopleId.trim();
    }

    public Date getCreateTm() {
        return createTm;
    }

    public void setCreateTm(Date createTm) {
        this.createTm = createTm;
    }

    public String getUpdatePeopleId() {
        return updatePeopleId;
    }

    public void setUpdatePeopleId(String updatePeopleId) {
        this.updatePeopleId = updatePeopleId == null ? null : updatePeopleId.trim();
    }

    public Date getUpdateTm() {
        return updateTm;
    }

    public void setUpdateTm(Date updateTm) {
        this.updateTm = updateTm;
    }

    public Short getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Short deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId == null ? null : accountId.trim();
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId == null ? null : companyId.trim();
    }

    public Short getWorkStatus() {
        return workStatus;
    }

    public void setWorkStatus(Short workStatus) {
        this.workStatus = workStatus;
    }

    public String getWorkOrderContent() {
        return workOrderContent;
    }

    public void setWorkOrderContent(String workOrderContent) {
        this.workOrderContent = workOrderContent == null ? null : workOrderContent.trim();
    }
}